<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="java.util.*,java.io.*,java.sql.*,InvestmentPojo.*;" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>You are Transforer Page </title>
<!-- <link href="images664/style.css" rel="stylesheet" type="text/css" media="screen" /> -->
<!-- <link rel="stylesheet" type="text/css" href="style.css" /> -->
</head>
<!-- <script type="text/javascript" src="images664/jquery-1.3.2.min.js"></script> -->

<% 
  

List optionsList123=new ArrayList();
Connection con=null;
String optionvalue="";
try{
	Class.forName("org.gjt.mm.mysql.Driver");
	con=DriverManager.getConnection("jdbc:mysql://204.93.216.11:3306/corp525_femadb","corp525_fema_usr","corp525_fema_pwd");
	Statement st=con.createStatement();
	
	ResultSet rs=st.executeQuery("select * from investment_in_india where form_id=3");
	
	while(rs.next()){
		OptionsList obj = new OptionsList();
		obj.setOptionId(rs.getString(1));
		obj.setListTypeId(rs.getString(2));
		obj.setOptionLabel(rs.getString(3));
		obj.setOptionValue(rs.getString(4));
		obj.setQestFlag(rs.getString(7));
		optionsList123.add(obj);
	}
}catch(Exception e ){
	e.printStackTrace();
}finally{
	con.close();
}
%> 
<script type="text/javascript">
function onQuestClick(id){
	//alert('id1.value');
	var id1= document.getElementById(id);
	
	var selectedValue ='';
	var radios;
	
	radios = document.getElementsByName("qest3");
	for(var i = 0; i < radios.length; i++) {
	    if(radios[i].checked) {
	    	selectedValue = radios[i].value; 
	    }
	    
	}
	
	var selectedValue1 ='';
	var radios;
	
	radios = document.getElementsByName("qest2");
	for(var i = 0; i < radios.length; i++) {
	    if(radios[i].checked) {
	    	selectedValue1 = radios[i].value;
	    	break;
	    }
	    
	}
	
	//alert('selectedValue:'+ document.getElementById("hidden_field").value);
	
	switch (id1.value)
	{    
	case '1':
		
		if((document.getElementById("hidden_field").value == '1') || ((selectedValue == '13') || (selectedValue == '14') || (selectedValue == '15'))){
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 //}
		}else if((document.getElementById("hidden_field").value == '1') || ((selectedValue == '11') || (selectedValue == '12'))){
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 //}
		}else{
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("TransfereeForSoftware").style.display="";
				 document.getElementById("TypeOfProperty").style.display="none";
				 document.getElementById("transferType").style.display="none";
		}
		
			 break;
		 //}
		 
	case '2':
		
		if((document.getElementById("hidden_field").value == '1') || ((selectedValue == '13') || (selectedValue == '14')|| (selectedValue == '15')) ){
			 document.getElementById("litag1").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			//}
		}else if((document.getElementById("hidden_field").value == '1') || ((selectedValue == '11') || (selectedValue == '12'))){
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 //}
		}else{
			 document.getElementById("litag1").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 document.getElementById("TransfereeForSoftware").style.display="";
			 document.getElementById("TypeOfProperty").style.display="none";
			 document.getElementById("transferType").style.display="none";
		}
        
		 break;
	case '3':
			
		if((document.getElementById("hidden_field").value == '1') || ((selectedValue == '13') || (selectedValue == '14')|| (selectedValue == '15'))){
			 document.getElementById("litag1").style.display="none";
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 //}
		}else if((document.getElementById("hidden_field").value == '1') || ((selectedValue == '11') || (selectedValue == '12'))){
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 //}
		}else{
			 document.getElementById("litag1").style.display="none";
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 }
			 document.getElementById("TransfereeForSoftware").style.display="";
			 document.getElementById("TypeOfProperty").style.display="none";
			 document.getElementById("transferType").style.display="none";
		}
		
        
		 break;
	case '4':
		
		if((document.getElementById("hidden_field").value == '1') || ((selectedValue == '13') || (selectedValue == '14') || (selectedValue == '15'))){
			 document.getElementById("litag1").style.display="none";
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 //}
		}else if((document.getElementById("hidden_field").value == '1') || ((selectedValue == '11') || (selectedValue == '12'))){
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 //}
		}else{
			 document.getElementById("litag1").style.display="none";
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 }
			 document.getElementById("TransfereeForSoftware").style.display="";
			 document.getElementById("TypeOfProperty").style.display="none";
			 document.getElementById("transferType").style.display="none";
		}
		
		 break;
	
	case '5':
		if((document.getElementById("hidden_field").value == '1') || ((selectedValue == '13') || (selectedValue == '14') || (selectedValue == '15'))){
			 document.getElementById("litag1").style.display="none";
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 //}
		}else if((document.getElementById("hidden_field").value == '1') || ((selectedValue == '11') || (selectedValue == '12'))){
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("litag5").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 //}
		}else{
			 document.getElementById("litag1").style.display="none";
			 document.getElementById("litag2").style.display="none";
			 document.getElementById("litag3").style.display="none";
			 document.getElementById("litag4").style.display="none";
			 document.getElementById("TransfereeForSoftware").style.display="";
			 document.getElementById("TypeOfProperty").style.display="none";
			 document.getElementById("transferType").style.display="none";
		}
		
		 break;
	}	
		
}


function onQuestClick1(id){
	var id1= document.getElementById(id);
	var hiddenField = document.getElementById("hidden_field").value;
	
	var selectedValue ='';
	var radios;
	
	radios = document.getElementsByName("qest3");
	for(var i = 0; i < radios.length; i++) {
	    if(radios[i].checked) {
	    	selectedValue = radios[i].value;
	    	break;
	    }
	    
	}
	
	//alert('selectedValue'+selectedValue);
	//alert('hiddenField'+hiddenField);
	switch (id1.value)
	{    
	case '6':
		
		if((hiddenField == '2') || ((selectedValue == '13') || (selectedValue == '14') || (selectedValue == '15'))){
			 
			 document.getElementById("transforee7").style.display="none";
			 document.getElementById("transforee8").style.display="none";
			 document.getElementById("transforee9").style.display="none";
			 document.getElementById("transforee10").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			// }
		}/* else if(selectedValue == '13' || selectedValue == '14' || selectedValue == '15'){
			 document.getElementById("transforee7").style.display="none";
			 document.getElementById("transforee8").style.display="none";
			 document.getElementById("transforee9").style.display="none";
			 document.getElementById("transforee10").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
		} */
		else{ 
			 document.getElementById("transforee7").style.display="none";
			 document.getElementById("transforee8").style.display="none";
			 document.getElementById("transforee9").style.display="none";
			 document.getElementById("transforee10").style.display="none";
			 document.getElementById("TypeOfProperty").style.display="";
			 document.getElementById("transferType").style.display="none";
		}
		
		 break;
	case '7':
		
		if((hiddenField == '2') || ((selectedValue == '13') || (selectedValue == '14') || (selectedValue == '15'))){
			 document.getElementById("transforee6").style.display="none";
			 document.getElementById("transforee8").style.display="none";
			 document.getElementById("transforee9").style.display="none";
			 document.getElementById("transforee10").style.display="none";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			//}
		}else{
			 document.getElementById("transforee6").style.display="none";
			 document.getElementById("transforee8").style.display="none";
			 document.getElementById("transforee9").style.display="none";
			 document.getElementById("transforee10").style.display="none";
			 document.getElementById("TypeOfProperty").style.display="";
			 document.getElementById("transferType").style.display="none";
		}
		
		 break;
	case '8':
		
		if((hiddenField == '2') || ((selectedValue == '13') || (selectedValue == '14') || (selectedValue == '15'))){
			document.getElementById("transforee6").style.display="none";
			 document.getElementById("transforee7").style.display="none";
			 document.getElementById("transforee9").style.display="none";
			 document.getElementById("transforee10").style.display="none";
			 document.getElementById("TypeOfProperty").style.display="";
			 //if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 //}
		}else{
			document.getElementById("transforee6").style.display="none";
			 document.getElementById("transforee7").style.display="none";
			 document.getElementById("transforee9").style.display="none";
			 document.getElementById("transforee10").style.display="none";
			 document.getElementById("TypeOfProperty").style.display="";
			 document.getElementById("transferType").style.display="none";
		}	
		 
		 break;
	case '9':
		if((hiddenField == '2') || ((selectedValue == '13') || (selectedValue == '14') || (selectedValue == '15'))){
			 document.getElementById("transforee6").style.display="none";
			 document.getElementById("transforee7").style.display="none";
			 document.getElementById("transforee8").style.display="none";
			 document.getElementById("transforee10").style.display="none";
			 if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 }
		}else{
			 document.getElementById("transforee6").style.display="none";
			 document.getElementById("transforee7").style.display="none";
			 document.getElementById("transforee8").style.display="none";
			 document.getElementById("transforee10").style.display="none";
			 document.getElementById("TypeOfProperty").style.display="";
			 document.getElementById("transferType").style.display="none";
		}
		
		 break;
	case '10':
		
		if((hiddenField == '2') || ((selectedValue == '13') || (selectedValue == '14') || (selectedValue == '15'))){
			 document.getElementById("transforee6").style.display="none";
			 document.getElementById("transforee7").style.display="none";
			 document.getElementById("transforee8").style.display="none";
			 document.getElementById("transforee9").style.display="none";
			 if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 }
		}else{
			 document.getElementById("transforee6").style.display="none";
			 document.getElementById("transforee7").style.display="none";
			 document.getElementById("transforee8").style.display="none";
			 document.getElementById("transforee9").style.display="none";
			 document.getElementById("TypeOfProperty").style.display="";
			 document.getElementById("transferType").style.display="none";
		}
		
		 break;
	
	}	
		
}

function onQuestClick2(id){
	var id1= document.getElementById(id);
	var hiddenField = document.getElementById("hidden_field").value;
	
	var selectedValue ='';
	var radios;
	
	radios = document.getElementsByName("qest3");
	for(var i = 0; i < radios.length; i++) {
	    if(radios[i].checked) {
	    	selectedValue = selectedValue+'.'+radios[i].value; 
	    }
	    
	}
	
	switch (id1.value)
	{    
	case '11':
		
		if(hiddenField == '3'){
			document.getElementById("transforor12").style.display="none";
			if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 }
		}else{
			 document.getElementById("transforor12").style.display="none";
			 document.getElementById("transferType").style.display="";
		}
		
		 break;
	case '12':
		
		if(hiddenField == '3'){
			document.getElementById("transforor11").style.display="none";
			if((selectedValue != '13') || (selectedValue != '14') || (selectedValue != '15')){
				 document.getElementById("Go For Conclution").style.display="";
			 }
		}else{
			 document.getElementById("transforor11").style.display="none";
			 document.getElementById("transferType").style.display="";
		}
        
		 break;
	}	
}

function onQuestClick3(id){
	
	var splittext = id.split('~');
	var id2=splittext[1];
	//var hiddenField = document.getElementById("hidden_field").value;
	
	if(id2 == 'Y'){

	switch (splittext[0])
	{    
	
	case '13':
		 document.getElementById("transferType14").style.display="none";
		 document.getElementById("transferType15").style.display="none";
		 break;
	case '14':
         document.getElementById("transferType13").style.display="none";
		 document.getElementById("transferType15").style.display="none";
		 break;
		 
	case '15':
		 document.getElementById("transferType13").style.display="none";
		 document.getElementById("transferType14").style.display="none";
		 break;
		 
	}	
	}else{
		document.getElementById("Go For Conclution").style.display="";
		
		switch (splittext[0])
		{    
		
		case '13':
			 document.getElementById("transferType14").style.display="none";
			 document.getElementById("transferType15").style.display="none";
			 break;
		case '14':
	         document.getElementById("transferType13").style.display="none";
			 document.getElementById("transferType15").style.display="none";
			 break;
			 
		case '15':
			 document.getElementById("transferType13").style.display="none";
			 document.getElementById("transferType14").style.display="none";
			 break;
			 
		}
		//loadXMLDoc(id);
	}
	 	
		
}
 function onloadchange(){
	 document.getElementById("Go For Conclution").style.display="none";
	 document.getElementById("answer").style.display="none";
	 document.getElementById("TransfereeForSoftware").style.display="none";
	 document.getElementById("TypeOfProperty").style.display="none";
	 document.getElementById("transferType").style.display="none";
}
function loadXMLDoc()
{
	
	var selectedValue ='';
	var radios;
	
	radios = document.getElementsByName("qest");
	var selectedValue1 = '';
	for(var i = 0; i < radios.length; i++) {
	    if(radios[i].checked) {
	    	selectedValue1 = radios[i].value;
	    	//selectedValue = radios[i].value;  
	    }
	    }
	selectedValue = selectedValue1;
	//}
	
	radios = document.getElementsByName("qest1");
	var selectedValue2 = '';
	for(var i = 0; i < radios.length; i++) {
	    if(radios[i].checked){
	    	selectedValue2 = radios[i].value;
	    	//selectedValue = selectedValue+'.'+radios[i].value;  
	    }
	}
	
	selectedValue = selectedValue+'.'+selectedValue2;
	
	radios = document.getElementsByName("qest2");
	var selectedValue3 = '';
	for(var i = 0; i < radios.length; i++) {
	    if(radios[i].checked){ 
	    	selectedValue3 = radios[i].value;
	    	//selectedValue = selectedValue+'.'+radios[i].value;   
	    }
	}
	
	selectedValue = selectedValue+'.'+selectedValue3;

	radios = document.getElementsByName("qest3");
	var selectedValue4 = '';
	for(var i = 0; i < radios.length; i++) {
	    if(radios[i].checked) {
	    	selectedValue4 = radios[i].value;
	    	//selectedValue = selectedValue+'.'+radios[i].value; 
	    }
	}
	 
	selectedValue = selectedValue+'.'+selectedValue4;
	
	
	var xmlhttp;
	if (window.XMLHttpRequest)
	  {
		// code for IE7+, Firefox, Chrome, Opera, Safari
	   xmlhttp=new XMLHttpRequest();
	  }
	else
	  {
		// code for IE6, IE5
	  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	  }
	xmlhttp.onreadystatechange=function()
	  {
	  if (xmlhttp.readyState==4 && xmlhttp.status==200)
	     {
	    document.getElementById("myDiv").innerHTML=xmlhttp.responseText;
	    
	     document.getElementById("answer").style.display="";
		 document.getElementById("answer1").style.display="";
	    }
	  }
	xmlhttp.open("GET","panelList.do?a="+selectedValue,true);
	xmlhttp.send();
}

/* function showAll(id){
	alert(document.getElementById(id).value);
	
	switch (id.value)
	{    
	
	case '1':
		 document.getElementById("transferType14").style.display="none";
		 document.getElementById("transferType15").style.display="none";
		 break;
	case '2':
         document.getElementById("transferType13").style.display="none";
		 document.getElementById("transferType15").style.display="none";
		 break;
		 
	case '3':
		 document.getElementById("transferType13").style.display="none";
		 document.getElementById("transferType14").style.display="none";
		 break;
		 
	case '4':
		 document.getElementById("transferType13").style.display="";
		 document.getElementById("transferType14").style.display="";
		 document.getElementById("transferType15").style.display="";
		 break;
		 
	}	
	
} */

function lClick(link) {
	 
	/* var selectedValue ='';
	var radios;
	
	radios = document.getElementsByName("qest3");
	for(var i = 0; i < radios.length; i++) {
	    if(radios[i].checked) {
	    	selectedValue = selectedValue+'.'+radios[i].value; 
	    }
	    
	}
	 */
	//alert('selectedValue'+selectedValue);
	
	 switch (link)
		{    
		
		case '4':
			
			//if( document.getElementById("qest14").checked == 'true' ){
				//alert("565656");
			//}
			 document.frm.hidden_field.value='4';
			 
			 document.getElementById("transferType13").style.display="";
			 document.getElementById("transferType14").style.display="";
			 document.getElementById("transferType15").style.display="";
			 document.getElementById("Go For Conclution").style.display="none";
			 document.getElementById("answer").style.display="none";
			 document.getElementById("answer1").style.display="none";
			 break;
		case '3':
			
			document.frm.hidden_field.value='3';
			
			 document.getElementById("transforor11").style.display="";
			 document.getElementById("transforor12").style.display="";
			 //document.getElementById("transferType").style.display="none";
			 document.getElementById("Go For Conclution").style.display="none";
			 document.getElementById("answer").style.display="none";
			 document.getElementById("answer1").style.display="none";
			 //alert(document.getElementById("qest15").value);
			 //document.getElementById("qest13").value="";
			 //document.getElementById("qest14").value="";
			 //document.getElementById("qest15").value="";
			 break;
			 
		case '2':
			
			document.frm.hidden_field.value='2';
			
			 document.getElementById("transforee6").style.display="";
			 document.getElementById("transforee7").style.display="";
			 document.getElementById("transforee8").style.display="";
			 document.getElementById("transforee9").style.display="";
			 document.getElementById("transforee10").style.display="";
			 document.getElementById("Go For Conclution").style.display="none";
			 //document.getElementById("TransfereeForSoftware").style.display="none";
			 //document.getElementById("TypeOfProperty").style.display="none";
			 //document.getElementById("transferType").style.display="none";
			 document.getElementById("answer").style.display="none";
			 document.getElementById("answer1").style.display="none";
			 break;
			 
		case '1':
			
			document.frm.hidden_field.value='1';
			
			 document.getElementById("litag1").style.display="";
			 document.getElementById("litag2").style.display="";
			 document.getElementById("litag3").style.display="";
			 document.getElementById("litag4").style.display="";
			 document.getElementById("litag5").style.display="";
			 document.getElementById("Go For Conclution").style.display="none";
			 //document.getElementById("TransfereeForSoftware").style.display="none";
			 //document.getElementById("TypeOfProperty").style.display="none";
			 //document.getElementById("transferType").style.display="none";
			 document.getElementById("answer").style.display="none";
			 document.getElementById("answer1").style.display="none";
			 break;
			 
		}
}
</script>


<body bgcolor="" onload="onloadchange()">
<form name="frm">
<input id="hidden_field" name="hidden_field" type="hidden" value="" />
<table width="700" align="center"  cellspacing ="0" cellpadding="0" valign="middle">
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

<table width="700" align="center"  border="0" cellspacing ="0" cellpadding="0" valign="middle">
<tr><td class="animatedbgul"><h2>Immovable In India</h2></td></tr>
</table>

<table width="700" align="center"  border="0" cellspacing ="0" cellpadding="0" valign="middle">
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

<table width="700" align="center" class="TDBBLRFORM" border="0" cellspacing ="0" cellpadding="0" valign="middle">
<tr>
<td class="animatedbgul" id="test1form" callspan="1"><font>Transferor</font>&nbsp;&nbsp;&nbsp;<a href="javascript:lClick('1')">showAll</a></td>
</tr>
<% if(optionsList123 != null){
	
	for(int i=0;i<optionsList123.size();i++){
	OptionsList obj =(OptionsList)optionsList123.get(i); 
	if(obj.getListTypeId() != null && obj.getListTypeId().equals("1")){
	
	%>
	<tr id="litag<%=obj.getOptionValue()%>"><td>
	<font><input type="radio" name="qest" id="<%=obj.getOptionId()%>" value="<%= obj.getOptionValue()%>" onclick="onQuestClick('<%=obj.getOptionId() %>')"/>&nbsp;&nbsp;&nbsp;<%= obj.getOptionLabel()%></font></td></tr>
	<%	
	}
	}	  		
	
} %>

</table>


<table width="600" align="center" border="0" cellspacing ="0" cellpadding="0" valign="middle">
<tr><td>&nbsp;</td></tr>
</table>
<table width="700" align="center" class="TDBBLRFORM" border="0" cellspacing ="0" cellpadding="0" valign="middle" id="TransfereeForSoftware">
<tr>
<td class="animatedbgul" id="test1form" callspan="1"><font>Transferee for software</font> &nbsp;<a href="javascript:lClick('2')">showAll</a></td></tr>
<% if(optionsList123 != null){
	for(int i=0;i<optionsList123.size();i++){
	OptionsList obj =(OptionsList)optionsList123.get(i); 
	if(obj.getListTypeId() != null && obj.getListTypeId().equals("2")){
	%>
	<tr id="transforee<%=obj.getOptionValue()%>"><td>
	<font><input type="radio" name="qest1" id="<%=obj.getOptionId()%>" value="<%= obj.getOptionValue()%>" onclick="onQuestClick1('<%=obj.getOptionId() %>')"/>&nbsp;&nbsp;&nbsp;<%= obj.getOptionLabel()%></font></td></tr>
	<%	
	}
	}	  		
} %>
</table>

<table width="600" align="center" border="0" cellspacing ="0" cellpadding="0" valign="middle">
<tr><td>&nbsp;</td></tr>
</table>
<table width="700" align="center" class="TDBBLRFORM" border="0" cellspacing ="0" cellpadding="0" valign="middle" id="TypeOfProperty">
<tr>
<td class="animatedbgul" id="test1form" callspan="1"><font>Type of property </font>&nbsp;&nbsp;&nbsp;<a href="javascript:lClick('3')">showAll</a></td></tr>
<% if(optionsList123 != null){
	for(int i=0;i<optionsList123.size();i++){
	OptionsList obj =(OptionsList)optionsList123.get(i); 
	if(obj.getListTypeId() != null && obj.getListTypeId().equals("3")){
	%>
	<tr id="transforor<%=obj.getOptionValue()%>"><td>
	<font><input type="radio" name="qest2" id="<%=obj.getOptionId()%>" value="<%= obj.getOptionValue()%>" onclick="onQuestClick2('<%=obj.getOptionId() %>')"/>&nbsp;&nbsp;&nbsp;<%= obj.getOptionLabel()%></font></td></tr>
	<%	
	
	}
	}	  		
	
} %>
</table>

<table width="600" align="center" border="0" cellspacing ="0" cellpadding="0" valign="middle" >
<tr><td>&nbsp;</td></tr> 
</table>
<table width="700" align="center" class="TDBBLRFORM" border="0" cellspacing ="0" cellpadding="0" valign="middle" id="transferType">
<tr>
<td class="animatedbgul" id="test1form" callspan="1"><font>Transfer type </font>&nbsp;&nbsp;&nbsp;<a href="javascript:lClick('4')">showAll</a></td></tr>
<% if(optionsList123 != null){
	for(int i=0;i<optionsList123.size();i++){
	OptionsList obj =(OptionsList)optionsList123.get(i); 
	if(obj.getListTypeId() != null && obj.getListTypeId().equals("4")){
	%>
	<tr id="transferType<%=obj.getOptionValue()%>"><td>
	<font><input type="radio" name="qest3" id="<%=obj.getOptionId()%> " value="<%= obj.getOptionValue()%>" onclick="onQuestClick3('<%=obj.getOptionValue() %>~<%=obj.getQestFlag() %>')"/>&nbsp;&nbsp;&nbsp;<%= obj.getOptionLabel()%></font></td></tr>
	<%	
	
	}
	}	  		
	
} %>

</table>
<table width="700" align="center" border="0" cellspacing ="0" cellpadding="0" valign="middle">
    <tr>
        <td>
           <input type="button" name="Go For Conclution" id="Go For Conclution" value="Go For Conclution" onclick="loadXMLDoc()"/>
            
        </td>
    </tr>
</table>

<table width="700" align="center" border="0" cellspacing ="0" cellpadding="0" valign="middle" id="answer">
    <tr>
        <td>
            <h2>Answer:</h2></div>
            
        </td>
    </tr>
</table>

<table width="700" align="center" border="0" cellspacing ="0" cellpadding="0" valign="middle" id="answer1">
    <tr>
        <td><div id="myDiv"></div></td>
    </tr>
</table>


</form>
</body>
</html>